﻿using Pay.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Model.Dto
{
    /// <summary>
    /// UImodel
    /// </summary>
   public  class UserInfoDto
    {
        public long Id { get; set; }
        public long Tid { get; set; }

        public string UserName { get; set; }

        public string Pwd { get; set; }

        public UserType Type { get; set; }

        public string NikeName { get; set; }

        public string Email { get; set; }

        public string Phone { get; set; }

        public string ImageUrl { get; set; }

        public bool IsEnable { get; set; }


        public DateTime? ExpireTime { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? LastTime { get; set; }

    }
    [Serializable]
    public class UserOutPut
    {

        public decimal TotalAmount { get; set; }
        public decimal FreezeAmount { get; set; }

        public long Id { get; set; }
        public string UserName { get; set; }

        public string RoleName { get; set; }

        public DateTime CreateTime { get; set; }

        public bool IsEnable { get; set; }

        public decimal FeeRate { get; set; }

        public long MerchantId { get; set; }

        public UserType Type { get; set; }
    }
}
